package com.fengshang.wedding.web.module.api;

import java.util.List;
import java.util.Map;
/**
 * 
 *@author gembin@gmail.com
 * 
 */
public interface IModuleManager {

	public static final String MODULE_MODE = "moduleMode";
	public static final String MODULE_TYPE = "moduleType";
	public static final String MODULE_NAME = "moduleName";
	public static final String MODULE_CONTENT = "moduleContent";
	public static final String MODULE_TEMPLATE = "moduleTemplate";
	public static final String MODULE_JS = "moduleJs";
	public static final String MODULE_CSS = "moduleCss";
	/**
	 * get all modules available
	 * @return
	 */
	public List<String> getModules();
	/**
	 * load module
	 * @param moduleName
	 * @return data
	 */
	public Map<String, Object> loadModule(String moduleName);

}
